package com.engr.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class HomeController {

    /*首页*/
    @GetMapping(value={"/","/index"},name = "首页")
    public String index(HttpServletRequest request){
        return "index/index";
    }
}
